package Demo3;

public class Test {
    public static void main(String[] args) {
//        Car car = new Car("宝马",2);
//        Car.Engine engine = car.new Engine("dongdong", 1);
//        engine.show();

        Animal animal = new Animal();
        System.out.println(animal.toString());
        Animal animal1 = new Animal("tiger",2);
        System.out.println(animal1.toString());

    }
}
